package com.gzhryc.shared_device.oem.code.agent.dao.enums;

public class AgentRelationBusinessConfigEnum {
	
	public static enum EditFeeState {

		Close(1, "关闭"), Open(2, "开启");

        private Integer index;
        private String note;

        EditFeeState(Integer index, String note) {
            this.index = index;
            this.note = note;
        }

        public Integer index() {
            return index;
        }

        public String note() {
            return note;
        }

        public static String note(Integer index) {
        	EditFeeState[] temp = EditFeeState.values();
            for (int i = 0; i < temp.length; i++) {
            	EditFeeState item = temp[i];
                if (item.index.equals(index)) {
                    return item.note;
                }
            }
            return null;
        }
    }

}
